package org.jeecg.modules.demo.staffstockholder.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.staffstockholder.entity.StaffStockholder;

/**
 * @Description: 查询员工股东
 * @Author: jeecg-boot
 * @Date: 2021-12-30
 * @Version: V1.0
 */
public interface IStaffStockholderService extends IService<StaffStockholder> {
    /**
     * 查询员工股东
     *
     * @param staffId
     * @param stockholderName
     * @return
     */
    IPage<StaffStockholder> queryStaffStockholder(Page<StaffStockholder> page, String staffId, String stockholderName);

    void deleteByStockholderId(String stockholderId);
}
